export const options = () => {
  return [
    {
      value: "A1",
      label: "A1",
      children: [
        {
          value: "01",
          label: "01",
          children: [
            {
              value: "000001",
              label: "000001",
              isSpell: true, // 是否是拼购
              num: 10,
            },
            {
              value: "000002",
              label: "000002",
              isSpell: false, // 是否是拼购
              num: 60,
            },
            {
              value: "000003",
              label: "000003",
              isSpell: true, // 是否是拼购
              num: 20,
            },
            {
              value: "000004",
              label: "000004",
              isSpell: false, // 是否是拼购
              num: 60,
            },
          ],
        },
        {
          value: "02",
          label: "02",
          children: [
            {
              value: "000001",
              label: "000001",
              isSpell: false, // 是否是拼购
              num: 60, // 是否是拼购
            },
            {
              value: "000002",
              label: "000002",
              isSpell: false, // 是否是拼购
              num: 60,
            },
          ],
        },
      ],
    },
    {
      value: "A2",
      label: "A2",
      children: [
        {
          value: "01",
          label: "01",
          children: [
            {
              value: "000001",
              label: "000001",
              isSpell: false, // 是否是拼购
              num: 60,
            },
            {
              value: "000002",
              label: "000002",
              isSpell: true, // 是否是拼购
              num: 60,
            },
            {
              value: "000003",
              label: "000003",
              isSpell: false, // 是否是拼购
              num: 60,
            },
            {
              value: "000004",
              label: "000004",
              isSpell: true, // 是否是拼购
              num: 60,
            },
            {
              value: "000005",
              label: "000005",
              isSpell: false, // 是否是拼购
              num: 60,
            },
          ],
        },
        {
          value: "02",
          label: "02",
          children: [
            {
              value: "000001",
              label: "000001",
              isSpell: false, // 是否是拼购
              num: 60,
            },
            {
              value: "000002",
              label: "000002",
              isSpell: false, // 是否是拼购
              num: 60,
            },
            {
              value: "000003",
              label: "000003",
              isSpell: true, // 是否是拼购
              num: 60,
            },
            {
              value: "000004",
              label: "000004",
              isSpell: false, // 是否是拼购
              num: 60,
            },
            {
              value: "000005",
              label: "000005",
              isSpell: false, // 是否是拼购
              num: 60,
            },
            {
              value: "000006",
              label: "000006",
              isSpell: false, // 是否是拼购
              num: 60,
            },
            {
              value: "000007",
              label: "000007",
              isSpell: true, // 是否是拼购
              num: 10,
            },
          ],
        },
      ],
    },
  ];
};

export const mockList = () => {
  return [
    {
      id: 1,
      url: "https://ykt-rt.yiketu.com/sys/ai_img_scene_model_pose/img/2025-03-11/50828106939d0104ca43390ff54e59a4.png?x-oss-process=image%2Fresize%2Cw_200%2Cm_lfit%2Fformat%2Cwebp",
      code: "293846789712901",
      codeTitle: "京牛编码：",
      name: "法式纯欲风遮肉绣花连衣裙女夏装",
      color: "绿色",
      size: "S",
      marketPrice: 189,
      inventoryPrice: 99,
      averagePrice: 0,
      inventoryNum: 0,
      remark: "",
      storeNum: 100,
      batch: "1234567890",
      unitPrice: 0,
      recommend: [
        {
          recommendNum: 0,
          location: [],
        },
      ],
      add: false,
    },
    {
      id: 2,
      url: "https://ykt-rt.yiketu.com/sys/ai_img_scene_model_pose/img/2025-03-11/50828106939d0104ca43390ff54e59a4.png?x-oss-process=image%2Fresize%2Cw_200%2Cm_lfit%2Fformat%2Cwebp",
      code: "293846789712902",
      codeTitle: "京牛编码：",
      name: "英式纯棉男装",
      color: "绿色",
      size: "S",
      marketPrice: 189,
      inventoryPrice: 99,
      averagePrice: 0,
      inventoryNum: 0,
      remark: "",
      storeNum: 100,
      batch: "1234567890",
      unitPrice: 0,
      recommend: [
        {
          recommendNum: 0,
          location: [],
        },
      ],
      add: false,
    },
    {
      id: 3,
      url: "https://ykt-rt.yiketu.com/sys/ai_img_scene_model_pose/img/2025-03-11/50828106939d0104ca43390ff54e59a4.png?x-oss-process=image%2Fresize%2Cw_200%2Cm_lfit%2Fformat%2Cwebp",
      code: "293846789712903",
      codeTitle: "京牛编码：",
      name: "测试名称3333",
      color: "绿色",
      size: "S",
      marketPrice: 189,
      inventoryPrice: 99,
      averagePrice: 0,
      inventoryNum: 0,
      remark: "",
      storeNum: 100,
      batch: "1234567890",
      unitPrice: 0,
      recommend: [
        {
          recommendNum: 0,
          location: [],
        },
      ],
      add: false,
    },
    {
      id: 4,
      url: "https://ykt-rt.yiketu.com/sys/ai_img_scene_model_pose/img/2025-03-11/50828106939d0104ca43390ff54e59a4.png?x-oss-process=image%2Fresize%2Cw_200%2Cm_lfit%2Fformat%2Cwebp",
      code: "293846789712904",
      codeTitle: "京牛编码：",
      name: "测试名称44",
      color: "绿色",
      size: "S",
      marketPrice: 189,
      inventoryPrice: 99,
      averagePrice: 0,
      inventoryNum: 0,
      remark: "",
      storeNum: 100,
      batch: "1234567890",
      unitPrice: 0,
      recommend: [
        {
          recommendNum: 0,
          location: [],
        },
      ],
      add: false,
    },
    {
      id: 5,
      url: "https://ykt-rt.yiketu.com/sys/ai_img_scene_model_pose/img/2025-03-11/50828106939d0104ca43390ff54e59a4.png?x-oss-process=image%2Fresize%2Cw_200%2Cm_lfit%2Fformat%2Cwebp",
      code: "293846789712905",
      codeTitle: "京牛编码：",
      name: "测试名称555",
      color: "绿色",
      size: "S",
      marketPrice: 189,
      inventoryPrice: 99,
      averagePrice: 0,
      inventoryNum: 0,
      remark: "",
      storeNum: 100,
      batch: "1234567890",
      unitPrice: 0,
      recommend: [
        {
          recommendNum: 0,
          location: [],
        },
      ],
      add: false,
    },
  ];
};
